package com.ktjy.service;

import com.ktjy.entity.SysUser;
import com.ktjy.mapper.SysUserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("sysUserService")
public class SysUserServiceImpl implements SysUserService{
    @Autowired
    private SysUserMapper sysUserMapper;

    @Override
    public int insert(SysUser record) {
        return sysUserMapper.insert(record);
    }

    @Override
    public int update(SysUser record) {
        return sysUserMapper.update(record);
    }

    @Override
    public int delete(int id) {
        return sysUserMapper.delete(id);
    }
}
